use crate::inventory::Material;

pub fn to_id(mat: Material) -> u16 {
    match mat {
        Material::Air => 0,
        Material::Stone => 1,
        Material::Granite => 2,
        Material::PolishedGranite => 3,
        Material::Diorite => 4,
        Material::PolishedDiorite => 5,
        Material::Andesite => 6,
        Material::PolishedAndesite => 7,
        Material::GrassBlock => 8,
        Material::Dirt => 9,
        Material::CoarseDirt => 10,
        Material::Podzol => 11,
        Material::Cobblestone => 12,
        Material::OakPlanks => 13,
        Material::SprucePlanks => 14,
        Material::BirchPlanks => 15,
        Material::JunglePlanks => 16,
        Material::AcaciaPlanks => 17,
        Material::DarkOakPlanks => 18,
        Material::OakSapling => 19,
        Material::SpruceSapling => 20,
        Material::BirchSapling => 21,
        Material::JungleSapling => 22,
        Material::AcaciaSapling => 23,
        Material::DarkOakSapling => 24,
        Material::Bedrock => 25,
        Material::Sand => 26,
        Material::RedSand => 27,
        Material::Gravel => 28,
        Material::GoldOre => 29,
        Material::IronOre => 30,
        Material::CoalOre => 31,
        Material::OakLog => 32,
        Material::SpruceLog => 33,
        Material::BirchLog => 34,
        Material::JungleLog => 35,
        Material::AcaciaLog => 36,
        Material::DarkOakLog => 37,
        Material::StrippedOakLog => 38,
        Material::StrippedSpruceLog => 39,
        Material::StrippedBirchLog => 40,
        Material::StrippedJungleLog => 41,
        Material::StrippedAcaciaLog => 42,
        Material::StrippedDarkOakLog => 43,
        Material::StrippedOakWood => 44,
        Material::StrippedSpruceWood => 45,
        Material::StrippedBirchWood => 46,
        Material::StrippedJungleWood => 47,
        Material::StrippedAcaciaWood => 48,
        Material::StrippedDarkOakWood => 49,
        Material::OakWood => 50,
        Material::SpruceWood => 51,
        Material::BirchWood => 52,
        Material::JungleWood => 53,
        Material::AcaciaWood => 54,
        Material::DarkOakWood => 55,
        Material::OakLeaves => 56,
        Material::SpruceLeaves => 57,
        Material::BirchLeaves => 58,
        Material::JungleLeaves => 59,
        Material::AcaciaLeaves => 60,
        Material::DarkOakLeaves => 61,
        Material::Sponge => 62,
        Material::WetSponge => 63,
        Material::Glass => 64,
        Material::LapisOre => 65,
        Material::LapisBlock => 66,
        Material::Dispenser => 67,
        Material::Sandstone => 68,
        Material::ChiseledSandstone => 69,
        Material::CutSandstone => 70,
        Material::NoteBlock => 71,
        Material::PoweredRail => 72,
        Material::DetectorRail => 73,
        Material::StickyPiston => 74,
        Material::Cobweb => 75,
        Material::Grass => 76,
        Material::Fern => 77,
        Material::DeadBush => 78,
        Material::Seagrass => 79,
        Material::SeaPickle => 80,
        Material::Piston => 81,
        Material::WhiteWool => 82,
        Material::OrangeWool => 83,
        Material::MagentaWool => 84,
        Material::LightBlueWool => 85,
        Material::YellowWool => 86,
        Material::LimeWool => 87,
        Material::PinkWool => 88,
        Material::GrayWool => 89,
        Material::LightGrayWool => 90,
        Material::CyanWool => 91,
        Material::PurpleWool => 92,
        Material::BlueWool => 93,
        Material::BrownWool => 94,
        Material::GreenWool => 95,
        Material::RedWool => 96,
        Material::BlackWool => 97,
        Material::Dandelion => 98,
        Material::Poppy => 99,
        Material::BlueOrchid => 100,
        Material::Allium => 101,
        Material::AzureBluet => 102,
        Material::RedTulip => 103,
        Material::OrangeTulip => 104,
        Material::WhiteTulip => 105,
        Material::PinkTulip => 106,
        Material::OxeyeDaisy => 107,
        Material::Cornflower => 108,
        Material::LilyOfTheValley => 109,
        Material::WitherRose => 110,
        Material::BrownMushroom => 111,
        Material::RedMushroom => 112,
        Material::GoldBlock => 113,
        Material::IronBlock => 114,
        Material::OakSlab => 115,
        Material::SpruceSlab => 116,
        Material::BirchSlab => 117,
        Material::JungleSlab => 118,
        Material::AcaciaSlab => 119,
        Material::DarkOakSlab => 120,
        Material::StoneSlab => 121,
        Material::SmoothStoneSlab => 122,
        Material::SandstoneSlab => 123,
        Material::CutSandstoneSlab => 124,
        Material::PetrifiedOakSlab => 125,
        Material::CobblestoneSlab => 126,
        Material::BrickSlab => 127,
        Material::StoneBrickSlab => 128,
        Material::NetherBrickSlab => 129,
        Material::QuartzSlab => 130,
        Material::RedSandstoneSlab => 131,
        Material::CutRedSandstoneSlab => 132,
        Material::PurpurSlab => 133,
        Material::PrismarineSlab => 134,
        Material::PrismarineBrickSlab => 135,
        Material::DarkPrismarineSlab => 136,
        Material::SmoothQuartz => 137,
        Material::SmoothRedSandstone => 138,
        Material::SmoothSandstone => 139,
        Material::SmoothStone => 140,
        Material::Bricks => 141,
        Material::Tnt => 142,
        Material::Bookshelf => 143,
        Material::MossyCobblestone => 144,
        Material::Obsidian => 145,
        Material::Torch => 146,
        Material::EndRod => 147,
        Material::ChorusPlant => 148,
        Material::ChorusFlower => 149,
        Material::PurpurBlock => 150,
        Material::PurpurPillar => 151,
        Material::PurpurStairs => 152,
        Material::Spawner => 153,
        Material::OakStairs => 154,
        Material::Chest => 155,
        Material::DiamondOre => 156,
        Material::DiamondBlock => 157,
        Material::CraftingTable => 158,
        Material::Farmland => 159,
        Material::Furnace => 160,
        Material::Ladder => 161,
        Material::Rail => 162,
        Material::CobblestoneStairs => 163,
        Material::Lever => 164,
        Material::StonePressurePlate => 165,
        Material::OakPressurePlate => 166,
        Material::SprucePressurePlate => 167,
        Material::BirchPressurePlate => 168,
        Material::JunglePressurePlate => 169,
        Material::AcaciaPressurePlate => 170,
        Material::DarkOakPressurePlate => 171,
        Material::RedstoneOre => 172,
        Material::RedstoneTorch => 173,
        Material::StoneButton => 174,
        Material::Snow => 175,
        Material::Ice => 176,
        Material::SnowBlock => 177,
        Material::Cactus => 178,
        Material::Clay => 179,
        Material::Jukebox => 180,
        Material::OakFence => 181,
        Material::SpruceFence => 182,
        Material::BirchFence => 183,
        Material::JungleFence => 184,
        Material::AcaciaFence => 185,
        Material::DarkOakFence => 186,
        Material::Pumpkin => 187,
        Material::CarvedPumpkin => 188,
        Material::Netherrack => 189,
        Material::SoulSand => 190,
        Material::Glowstone => 191,
        Material::JackOLantern => 192,
        Material::OakTrapdoor => 193,
        Material::SpruceTrapdoor => 194,
        Material::BirchTrapdoor => 195,
        Material::JungleTrapdoor => 196,
        Material::AcaciaTrapdoor => 197,
        Material::DarkOakTrapdoor => 198,
        Material::InfestedStone => 199,
        Material::InfestedCobblestone => 200,
        Material::InfestedStoneBricks => 201,
        Material::InfestedMossyStoneBricks => 202,
        Material::InfestedCrackedStoneBricks => 203,
        Material::InfestedChiseledStoneBricks => 204,
        Material::StoneBricks => 205,
        Material::MossyStoneBricks => 206,
        Material::CrackedStoneBricks => 207,
        Material::ChiseledStoneBricks => 208,
        Material::BrownMushroomBlock => 209,
        Material::RedMushroomBlock => 210,
        Material::MushroomStem => 211,
        Material::IronBars => 212,
        Material::GlassPane => 213,
        Material::Melon => 214,
        Material::Vine => 215,
        Material::OakFenceGate => 216,
        Material::SpruceFenceGate => 217,
        Material::BirchFenceGate => 218,
        Material::JungleFenceGate => 219,
        Material::AcaciaFenceGate => 220,
        Material::DarkOakFenceGate => 221,
        Material::BrickStairs => 222,
        Material::StoneBrickStairs => 223,
        Material::Mycelium => 224,
        Material::LilyPad => 225,
        Material::NetherBricks => 226,
        Material::NetherBrickFence => 227,
        Material::NetherBrickStairs => 228,
        Material::EnchantingTable => 229,
        Material::EndPortalFrame => 230,
        Material::EndStone => 231,
        Material::EndStoneBricks => 232,
        Material::DragonEgg => 233,
        Material::RedstoneLamp => 234,
        Material::SandstoneStairs => 235,
        Material::EmeraldOre => 236,
        Material::EnderChest => 237,
        Material::TripwireHook => 238,
        Material::EmeraldBlock => 239,
        Material::SpruceStairs => 240,
        Material::BirchStairs => 241,
        Material::JungleStairs => 242,
        Material::CommandBlock => 243,
        Material::Beacon => 244,
        Material::CobblestoneWall => 245,
        Material::MossyCobblestoneWall => 246,
        Material::BrickWall => 247,
        Material::PrismarineWall => 248,
        Material::RedSandstoneWall => 249,
        Material::MossyStoneBrickWall => 250,
        Material::GraniteWall => 251,
        Material::StoneBrickWall => 252,
        Material::NetherBrickWall => 253,
        Material::AndesiteWall => 254,
        Material::RedNetherBrickWall => 255,
        Material::SandstoneWall => 256,
        Material::EndStoneBrickWall => 257,
        Material::DioriteWall => 258,
        Material::OakButton => 259,
        Material::SpruceButton => 260,
        Material::BirchButton => 261,
        Material::JungleButton => 262,
        Material::AcaciaButton => 263,
        Material::DarkOakButton => 264,
        Material::Anvil => 265,
        Material::ChippedAnvil => 266,
        Material::DamagedAnvil => 267,
        Material::TrappedChest => 268,
        Material::LightWeightedPressurePlate => 269,
        Material::HeavyWeightedPressurePlate => 270,
        Material::DaylightDetector => 271,
        Material::RedstoneBlock => 272,
        Material::NetherQuartzOre => 273,
        Material::Hopper => 274,
        Material::ChiseledQuartzBlock => 275,
        Material::QuartzBlock => 276,
        Material::QuartzPillar => 277,
        Material::QuartzStairs => 278,
        Material::ActivatorRail => 279,
        Material::Dropper => 280,
        Material::WhiteTerracotta => 281,
        Material::OrangeTerracotta => 282,
        Material::MagentaTerracotta => 283,
        Material::LightBlueTerracotta => 284,
        Material::YellowTerracotta => 285,
        Material::LimeTerracotta => 286,
        Material::PinkTerracotta => 287,
        Material::GrayTerracotta => 288,
        Material::LightGrayTerracotta => 289,
        Material::CyanTerracotta => 290,
        Material::PurpleTerracotta => 291,
        Material::BlueTerracotta => 292,
        Material::BrownTerracotta => 293,
        Material::GreenTerracotta => 294,
        Material::RedTerracotta => 295,
        Material::BlackTerracotta => 296,
        Material::Barrier => 297,
        Material::IronTrapdoor => 298,
        Material::HayBlock => 299,
        Material::WhiteCarpet => 300,
        Material::OrangeCarpet => 301,
        Material::MagentaCarpet => 302,
        Material::LightBlueCarpet => 303,
        Material::YellowCarpet => 304,
        Material::LimeCarpet => 305,
        Material::PinkCarpet => 306,
        Material::GrayCarpet => 307,
        Material::LightGrayCarpet => 308,
        Material::CyanCarpet => 309,
        Material::PurpleCarpet => 310,
        Material::BlueCarpet => 311,
        Material::BrownCarpet => 312,
        Material::GreenCarpet => 313,
        Material::RedCarpet => 314,
        Material::BlackCarpet => 315,
        Material::Terracotta => 316,
        Material::CoalBlock => 317,
        Material::PackedIce => 318,
        Material::AcaciaStairs => 319,
        Material::DarkOakStairs => 320,
        Material::SlimeBlock => 321,
        Material::GrassPath => 322,
        Material::Sunflower => 323,
        Material::Lilac => 324,
        Material::RoseBush => 325,
        Material::Peony => 326,
        Material::TallGrass => 327,
        Material::LargeFern => 328,
        Material::WhiteStainedGlass => 329,
        Material::OrangeStainedGlass => 330,
        Material::MagentaStainedGlass => 331,
        Material::LightBlueStainedGlass => 332,
        Material::YellowStainedGlass => 333,
        Material::LimeStainedGlass => 334,
        Material::PinkStainedGlass => 335,
        Material::GrayStainedGlass => 336,
        Material::LightGrayStainedGlass => 337,
        Material::CyanStainedGlass => 338,
        Material::PurpleStainedGlass => 339,
        Material::BlueStainedGlass => 340,
        Material::BrownStainedGlass => 341,
        Material::GreenStainedGlass => 342,
        Material::RedStainedGlass => 343,
        Material::BlackStainedGlass => 344,
        Material::WhiteStainedGlassPane => 345,
        Material::OrangeStainedGlassPane => 346,
        Material::MagentaStainedGlassPane => 347,
        Material::LightBlueStainedGlassPane => 348,
        Material::YellowStainedGlassPane => 349,
        Material::LimeStainedGlassPane => 350,
        Material::PinkStainedGlassPane => 351,
        Material::GrayStainedGlassPane => 352,
        Material::LightGrayStainedGlassPane => 353,
        Material::CyanStainedGlassPane => 354,
        Material::PurpleStainedGlassPane => 355,
        Material::BlueStainedGlassPane => 356,
        Material::BrownStainedGlassPane => 357,
        Material::GreenStainedGlassPane => 358,
        Material::RedStainedGlassPane => 359,
        Material::BlackStainedGlassPane => 360,
        Material::Prismarine => 361,
        Material::PrismarineBricks => 362,
        Material::DarkPrismarine => 363,
        Material::PrismarineStairs => 364,
        Material::PrismarineBrickStairs => 365,
        Material::DarkPrismarineStairs => 366,
        Material::SeaLantern => 367,
        Material::RedSandstone => 368,
        Material::ChiseledRedSandstone => 369,
        Material::CutRedSandstone => 370,
        Material::RedSandstoneStairs => 371,
        Material::RepeatingCommandBlock => 372,
        Material::ChainCommandBlock => 373,
        Material::MagmaBlock => 374,
        Material::NetherWartBlock => 375,
        Material::RedNetherBricks => 376,
        Material::BoneBlock => 377,
        Material::StructureVoid => 378,
        Material::Observer => 379,
        Material::ShulkerBox => 380,
        Material::WhiteShulkerBox => 381,
        Material::OrangeShulkerBox => 382,
        Material::MagentaShulkerBox => 383,
        Material::LightBlueShulkerBox => 384,
        Material::YellowShulkerBox => 385,
        Material::LimeShulkerBox => 386,
        Material::PinkShulkerBox => 387,
        Material::GrayShulkerBox => 388,
        Material::LightGrayShulkerBox => 389,
        Material::CyanShulkerBox => 390,
        Material::PurpleShulkerBox => 391,
        Material::BlueShulkerBox => 392,
        Material::BrownShulkerBox => 393,
        Material::GreenShulkerBox => 394,
        Material::RedShulkerBox => 395,
        Material::BlackShulkerBox => 396,
        Material::WhiteGlazedTerracotta => 397,
        Material::OrangeGlazedTerracotta => 398,
        Material::MagentaGlazedTerracotta => 399,
        Material::LightBlueGlazedTerracotta => 400,
        Material::YellowGlazedTerracotta => 401,
        Material::LimeGlazedTerracotta => 402,
        Material::PinkGlazedTerracotta => 403,
        Material::GrayGlazedTerracotta => 404,
        Material::LightGrayGlazedTerracotta => 405,
        Material::CyanGlazedTerracotta => 406,
        Material::PurpleGlazedTerracotta => 407,
        Material::BlueGlazedTerracotta => 408,
        Material::BrownGlazedTerracotta => 409,
        Material::GreenGlazedTerracotta => 410,
        Material::RedGlazedTerracotta => 411,
        Material::BlackGlazedTerracotta => 412,
        Material::WhiteConcrete => 413,
        Material::OrangeConcrete => 414,
        Material::MagentaConcrete => 415,
        Material::LightBlueConcrete => 416,
        Material::YellowConcrete => 417,
        Material::LimeConcrete => 418,
        Material::PinkConcrete => 419,
        Material::GrayConcrete => 420,
        Material::LightGrayConcrete => 421,
        Material::CyanConcrete => 422,
        Material::PurpleConcrete => 423,
        Material::BlueConcrete => 424,
        Material::BrownConcrete => 425,
        Material::GreenConcrete => 426,
        Material::RedConcrete => 427,
        Material::BlackConcrete => 428,
        Material::WhiteConcretePowder => 429,
        Material::OrangeConcretePowder => 430,
        Material::MagentaConcretePowder => 431,
        Material::LightBlueConcretePowder => 432,
        Material::YellowConcretePowder => 433,
        Material::LimeConcretePowder => 434,
        Material::PinkConcretePowder => 435,
        Material::GrayConcretePowder => 436,
        Material::LightGrayConcretePowder => 437,
        Material::CyanConcretePowder => 438,
        Material::PurpleConcretePowder => 439,
        Material::BlueConcretePowder => 440,
        Material::BrownConcretePowder => 441,
        Material::GreenConcretePowder => 442,
        Material::RedConcretePowder => 443,
        Material::BlackConcretePowder => 444,
        Material::TurtleEgg => 445,
        Material::DeadTubeCoralBlock => 446,
        Material::DeadBrainCoralBlock => 447,
        Material::DeadBubbleCoralBlock => 448,
        Material::DeadFireCoralBlock => 449,
        Material::DeadHornCoralBlock => 450,
        Material::TubeCoralBlock => 451,
        Material::BrainCoralBlock => 452,
        Material::BubbleCoralBlock => 453,
        Material::FireCoralBlock => 454,
        Material::HornCoralBlock => 455,
        Material::TubeCoral => 456,
        Material::BrainCoral => 457,
        Material::BubbleCoral => 458,
        Material::FireCoral => 459,
        Material::HornCoral => 460,
        Material::DeadBrainCoral => 461,
        Material::DeadBubbleCoral => 462,
        Material::DeadFireCoral => 463,
        Material::DeadHornCoral => 464,
        Material::DeadTubeCoral => 465,
        Material::TubeCoralFan => 466,
        Material::BrainCoralFan => 467,
        Material::BubbleCoralFan => 468,
        Material::FireCoralFan => 469,
        Material::HornCoralFan => 470,
        Material::DeadTubeCoralFan => 471,
        Material::DeadBrainCoralFan => 472,
        Material::DeadBubbleCoralFan => 473,
        Material::DeadFireCoralFan => 474,
        Material::DeadHornCoralFan => 475,
        Material::BlueIce => 476,
        Material::Conduit => 477,
        Material::PolishedGraniteStairs => 478,
        Material::SmoothRedSandstoneStairs => 479,
        Material::MossyStoneBrickStairs => 480,
        Material::PolishedDioriteStairs => 481,
        Material::MossyCobblestoneStairs => 482,
        Material::EndStoneBrickStairs => 483,
        Material::StoneStairs => 484,
        Material::SmoothSandstoneStairs => 485,
        Material::SmoothQuartzStairs => 486,
        Material::GraniteStairs => 487,
        Material::AndesiteStairs => 488,
        Material::RedNetherBrickStairs => 489,
        Material::PolishedAndesiteStairs => 490,
        Material::DioriteStairs => 491,
        Material::PolishedGraniteSlab => 492,
        Material::SmoothRedSandstoneSlab => 493,
        Material::MossyStoneBrickSlab => 494,
        Material::PolishedDioriteSlab => 495,
        Material::MossyCobblestoneSlab => 496,
        Material::EndStoneBrickSlab => 497,
        Material::SmoothSandstoneSlab => 498,
        Material::SmoothQuartzSlab => 499,
        Material::GraniteSlab => 500,
        Material::AndesiteSlab => 501,
        Material::RedNetherBrickSlab => 502,
        Material::PolishedAndesiteSlab => 503,
        Material::DioriteSlab => 504,
        Material::Scaffolding => 505,
        Material::IronDoor => 506,
        Material::OakDoor => 507,
        Material::SpruceDoor => 508,
        Material::BirchDoor => 509,
        Material::JungleDoor => 510,
        Material::AcaciaDoor => 511,
        Material::DarkOakDoor => 512,
        Material::Repeater => 513,
        Material::Comparator => 514,
        Material::StructureBlock => 515,
        Material::Jigsaw => 516,
        Material::Composter => 517,
        Material::TurtleHelmet => 518,
        Material::Scute => 519,
        Material::IronShovel => 520,
        Material::IronPickaxe => 521,
        Material::IronAxe => 522,
        Material::FlintAndSteel => 523,
        Material::Apple => 524,
        Material::Bow => 525,
        Material::Arrow => 526,
        Material::Coal => 527,
        Material::Charcoal => 528,
        Material::Diamond => 529,
        Material::IronIngot => 530,
        Material::GoldIngot => 531,
        Material::IronSword => 532,
        Material::WoodenSword => 533,
        Material::WoodenShovel => 534,
        Material::WoodenPickaxe => 535,
        Material::WoodenAxe => 536,
        Material::StoneSword => 537,
        Material::StoneShovel => 538,
        Material::StonePickaxe => 539,
        Material::StoneAxe => 540,
        Material::DiamondSword => 541,
        Material::DiamondShovel => 542,
        Material::DiamondPickaxe => 543,
        Material::DiamondAxe => 544,
        Material::Stick => 545,
        Material::Bowl => 546,
        Material::MushroomStew => 547,
        Material::GoldenSword => 548,
        Material::GoldenShovel => 549,
        Material::GoldenPickaxe => 550,
        Material::GoldenAxe => 551,
        Material::String => 552,
        Material::Feather => 553,
        Material::Gunpowder => 554,
        Material::WoodenHoe => 555,
        Material::StoneHoe => 556,
        Material::IronHoe => 557,
        Material::DiamondHoe => 558,
        Material::GoldenHoe => 559,
        Material::WheatSeeds => 560,
        Material::Wheat => 561,
        Material::Bread => 562,
        Material::LeatherHelmet => 563,
        Material::LeatherChestplate => 564,
        Material::LeatherLeggings => 565,
        Material::LeatherBoots => 566,
        Material::ChainmailHelmet => 567,
        Material::ChainmailChestplate => 568,
        Material::ChainmailLeggings => 569,
        Material::ChainmailBoots => 570,
        Material::IronHelmet => 571,
        Material::IronChestplate => 572,
        Material::IronLeggings => 573,
        Material::IronBoots => 574,
        Material::DiamondHelmet => 575,
        Material::DiamondChestplate => 576,
        Material::DiamondLeggings => 577,
        Material::DiamondBoots => 578,
        Material::GoldenHelmet => 579,
        Material::GoldenChestplate => 580,
        Material::GoldenLeggings => 581,
        Material::GoldenBoots => 582,
        Material::Flint => 583,
        Material::Porkchop => 584,
        Material::CookedPorkchop => 585,
        Material::Painting => 586,
        Material::GoldenApple => 587,
        Material::EnchantedGoldenApple => 588,
        Material::OakSign => 589,
        Material::SpruceSign => 590,
        Material::BirchSign => 591,
        Material::JungleSign => 592,
        Material::AcaciaSign => 593,
        Material::DarkOakSign => 594,
        Material::Bucket => 595,
        Material::WaterBucket => 596,
        Material::LavaBucket => 597,
        Material::Minecart => 598,
        Material::Saddle => 599,
        Material::Redstone => 600,
        Material::Snowball => 601,
        Material::OakBoat => 602,
        Material::Leather => 603,
        Material::MilkBucket => 604,
        Material::PufferfishBucket => 605,
        Material::SalmonBucket => 606,
        Material::CodBucket => 607,
        Material::TropicalFishBucket => 608,
        Material::Brick => 609,
        Material::ClayBall => 610,
        Material::SugarCane => 611,
        Material::Kelp => 612,
        Material::DriedKelpBlock => 613,
        Material::Bamboo => 614,
        Material::Paper => 615,
        Material::Book => 616,
        Material::SlimeBall => 617,
        Material::ChestMinecart => 618,
        Material::FurnaceMinecart => 619,
        Material::Egg => 620,
        Material::Compass => 621,
        Material::FishingRod => 622,
        Material::Clock => 623,
        Material::GlowstoneDust => 624,
        Material::Cod => 625,
        Material::Salmon => 626,
        Material::TropicalFish => 627,
        Material::Pufferfish => 628,
        Material::CookedCod => 629,
        Material::CookedSalmon => 630,
        Material::InkSac => 631,
        Material::RedDye => 632,
        Material::GreenDye => 633,
        Material::CocoaBeans => 634,
        Material::LapisLazuli => 635,
        Material::PurpleDye => 636,
        Material::CyanDye => 637,
        Material::LightGrayDye => 638,
        Material::GrayDye => 639,
        Material::PinkDye => 640,
        Material::LimeDye => 641,
        Material::YellowDye => 642,
        Material::LightBlueDye => 643,
        Material::MagentaDye => 644,
        Material::OrangeDye => 645,
        Material::BoneMeal => 646,
        Material::BlueDye => 647,
        Material::BrownDye => 648,
        Material::BlackDye => 649,
        Material::WhiteDye => 650,
        Material::Bone => 651,
        Material::Sugar => 652,
        Material::Cake => 653,
        Material::WhiteBed => 654,
        Material::OrangeBed => 655,
        Material::MagentaBed => 656,
        Material::LightBlueBed => 657,
        Material::YellowBed => 658,
        Material::LimeBed => 659,
        Material::PinkBed => 660,
        Material::GrayBed => 661,
        Material::LightGrayBed => 662,
        Material::CyanBed => 663,
        Material::PurpleBed => 664,
        Material::BlueBed => 665,
        Material::BrownBed => 666,
        Material::GreenBed => 667,
        Material::RedBed => 668,
        Material::BlackBed => 669,
        Material::Cookie => 670,
        Material::FilledMap => 671,
        Material::Shears => 672,
        Material::MelonSlice => 673,
        Material::DriedKelp => 674,
        Material::PumpkinSeeds => 675,
        Material::MelonSeeds => 676,
        Material::Beef => 677,
        Material::CookedBeef => 678,
        Material::Chicken => 679,
        Material::CookedChicken => 680,
        Material::RottenFlesh => 681,
        Material::EnderPearl => 682,
        Material::BlazeRod => 683,
        Material::GhastTear => 684,
        Material::GoldNugget => 685,
        Material::NetherWart => 686,
        Material::Potion => 687,
        Material::GlassBottle => 688,
        Material::SpiderEye => 689,
        Material::FermentedSpiderEye => 690,
        Material::BlazePowder => 691,
        Material::MagmaCream => 692,
        Material::BrewingStand => 693,
        Material::Cauldron => 694,
        Material::EnderEye => 695,
        Material::GlisteringMelonSlice => 696,
        Material::BatSpawnEgg => 697,
        Material::BlazeSpawnEgg => 698,
        Material::CatSpawnEgg => 699,
        Material::CaveSpiderSpawnEgg => 700,
        Material::ChickenSpawnEgg => 701,
        Material::CodSpawnEgg => 702,
        Material::CowSpawnEgg => 703,
        Material::CreeperSpawnEgg => 704,
        Material::DolphinSpawnEgg => 705,
        Material::DonkeySpawnEgg => 706,
        Material::DrownedSpawnEgg => 707,
        Material::ElderGuardianSpawnEgg => 708,
        Material::EndermanSpawnEgg => 709,
        Material::EndermiteSpawnEgg => 710,
        Material::EvokerSpawnEgg => 711,
        Material::FoxSpawnEgg => 712,
        Material::GhastSpawnEgg => 713,
        Material::GuardianSpawnEgg => 714,
        Material::HorseSpawnEgg => 715,
        Material::HuskSpawnEgg => 716,
        Material::LlamaSpawnEgg => 717,
        Material::MagmaCubeSpawnEgg => 718,
        Material::MooshroomSpawnEgg => 719,
        Material::MuleSpawnEgg => 720,
        Material::OcelotSpawnEgg => 721,
        Material::PandaSpawnEgg => 722,
        Material::ParrotSpawnEgg => 723,
        Material::PhantomSpawnEgg => 724,
        Material::PigSpawnEgg => 725,
        Material::PillagerSpawnEgg => 726,
        Material::PolarBearSpawnEgg => 727,
        Material::PufferfishSpawnEgg => 728,
        Material::RabbitSpawnEgg => 729,
        Material::RavagerSpawnEgg => 730,
        Material::SalmonSpawnEgg => 731,
        Material::SheepSpawnEgg => 732,
        Material::ShulkerSpawnEgg => 733,
        Material::SilverfishSpawnEgg => 734,
        Material::SkeletonSpawnEgg => 735,
        Material::SkeletonHorseSpawnEgg => 736,
        Material::SlimeSpawnEgg => 737,
        Material::SpiderSpawnEgg => 738,
        Material::SquidSpawnEgg => 739,
        Material::StraySpawnEgg => 740,
        Material::TraderLlamaSpawnEgg => 741,
        Material::TropicalFishSpawnEgg => 742,
        Material::TurtleSpawnEgg => 743,
        Material::VexSpawnEgg => 744,
        Material::VillagerSpawnEgg => 745,
        Material::VindicatorSpawnEgg => 746,
        Material::WanderingTraderSpawnEgg => 747,
        Material::WitchSpawnEgg => 748,
        Material::WitherSkeletonSpawnEgg => 749,
        Material::WolfSpawnEgg => 750,
        Material::ZombieSpawnEgg => 751,
        Material::ZombieHorseSpawnEgg => 752,
        Material::ZombiePigmanSpawnEgg => 753,
        Material::ZombieVillagerSpawnEgg => 754,
        Material::ExperienceBottle => 755,
        Material::FireCharge => 756,
        Material::WritableBook => 757,
        Material::WrittenBook => 758,
        Material::Emerald => 759,
        Material::ItemFrame => 760,
        Material::FlowerPot => 761,
        Material::Carrot => 762,
        Material::Potato => 763,
        Material::BakedPotato => 764,
        Material::PoisonousPotato => 765,
        Material::Map => 766,
        Material::GoldenCarrot => 767,
        Material::SkeletonSkull => 768,
        Material::WitherSkeletonSkull => 769,
        Material::PlayerHead => 770,
        Material::ZombieHead => 771,
        Material::CreeperHead => 772,
        Material::DragonHead => 773,
        Material::CarrotOnAStick => 774,
        Material::NetherStar => 775,
        Material::PumpkinPie => 776,
        Material::FireworkRocket => 777,
        Material::FireworkStar => 778,
        Material::EnchantedBook => 779,
        Material::NetherBrick => 780,
        Material::Quartz => 781,
        Material::TntMinecart => 782,
        Material::HopperMinecart => 783,
        Material::PrismarineShard => 784,
        Material::PrismarineCrystals => 785,
        Material::Rabbit => 786,
        Material::CookedRabbit => 787,
        Material::RabbitStew => 788,
        Material::RabbitFoot => 789,
        Material::RabbitHide => 790,
        Material::ArmorStand => 791,
        Material::IronHorseArmor => 792,
        Material::GoldenHorseArmor => 793,
        Material::DiamondHorseArmor => 794,
        Material::LeatherHorseArmor => 795,
        Material::Lead => 796,
        Material::NameTag => 797,
        Material::CommandBlockMinecart => 798,
        Material::Mutton => 799,
        Material::CookedMutton => 800,
        Material::WhiteBanner => 801,
        Material::OrangeBanner => 802,
        Material::MagentaBanner => 803,
        Material::LightBlueBanner => 804,
        Material::YellowBanner => 805,
        Material::LimeBanner => 806,
        Material::PinkBanner => 807,
        Material::GrayBanner => 808,
        Material::LightGrayBanner => 809,
        Material::CyanBanner => 810,
        Material::PurpleBanner => 811,
        Material::BlueBanner => 812,
        Material::BrownBanner => 813,
        Material::GreenBanner => 814,
        Material::RedBanner => 815,
        Material::BlackBanner => 816,
        Material::EndCrystal => 817,
        Material::ChorusFruit => 818,
        Material::PoppedChorusFruit => 819,
        Material::Beetroot => 820,
        Material::BeetrootSeeds => 821,
        Material::BeetrootSoup => 822,
        Material::DragonBreath => 823,
        Material::SplashPotion => 824,
        Material::SpectralArrow => 825,
        Material::TippedArrow => 826,
        Material::LingeringPotion => 827,
        Material::Shield => 828,
        Material::Elytra => 829,
        Material::SpruceBoat => 830,
        Material::BirchBoat => 831,
        Material::JungleBoat => 832,
        Material::AcaciaBoat => 833,
        Material::DarkOakBoat => 834,
        Material::TotemOfUndying => 835,
        Material::ShulkerShell => 836,
        Material::IronNugget => 837,
        Material::KnowledgeBook => 838,
        Material::DebugStick => 839,
        Material::MusicDisc13 => 840,
        Material::MusicDiscCat => 841,
        Material::MusicDiscBlocks => 842,
        Material::MusicDiscChirp => 843,
        Material::MusicDiscFar => 844,
        Material::MusicDiscMall => 845,
        Material::MusicDiscMellohi => 846,
        Material::MusicDiscStal => 847,
        Material::MusicDiscStrad => 848,
        Material::MusicDiscWard => 849,
        Material::MusicDisc11 => 850,
        Material::MusicDiscWait => 851,
        Material::Trident => 852,
        Material::PhantomMembrane => 853,
        Material::NautilusShell => 854,
        Material::HeartOfTheSea => 855,
        Material::Crossbow => 856,
        Material::SuspiciousStew => 857,
        Material::Loom => 858,
        Material::FlowerBannerPattern => 859,
        Material::CreeperBannerPattern => 860,
        Material::SkullBannerPattern => 861,
        Material::MojangBannerPattern => 862,
        Material::GlobeBannerPattern => 863,
        Material::Barrel => 864,
        Material::Smoker => 865,
        Material::BlastFurnace => 866,
        Material::CartographyTable => 867,
        Material::FletchingTable => 868,
        Material::Grindstone => 869,
        Material::Lectern => 870,
        Material::SmithingTable => 871,
        Material::Stonecutter => 872,
        Material::Bell => 873,
        Material::Lantern => 874,
        Material::SweetBerries => 875,
        Material::Campfire => 876,
        _ => 0,
    }
}

pub fn to_material(material_id: u16) -> Material {
    match material_id {
        0 => Material::Air,
        1 => Material::Stone,
        2 => Material::Granite,
        3 => Material::PolishedGranite,
        4 => Material::Diorite,
        5 => Material::PolishedDiorite,
        6 => Material::Andesite,
        7 => Material::PolishedAndesite,
        8 => Material::GrassBlock,
        9 => Material::Dirt,
        10 => Material::CoarseDirt,
        11 => Material::Podzol,
        12 => Material::Cobblestone,
        13 => Material::OakPlanks,
        14 => Material::SprucePlanks,
        15 => Material::BirchPlanks,
        16 => Material::JunglePlanks,
        17 => Material::AcaciaPlanks,
        18 => Material::DarkOakPlanks,
        19 => Material::OakSapling,
        20 => Material::SpruceSapling,
        21 => Material::BirchSapling,
        22 => Material::JungleSapling,
        23 => Material::AcaciaSapling,
        24 => Material::DarkOakSapling,
        25 => Material::Bedrock,
        26 => Material::Sand,
        27 => Material::RedSand,
        28 => Material::Gravel,
        29 => Material::GoldOre,
        30 => Material::IronOre,
        31 => Material::CoalOre,
        32 => Material::OakLog,
        33 => Material::SpruceLog,
        34 => Material::BirchLog,
        35 => Material::JungleLog,
        36 => Material::AcaciaLog,
        37 => Material::DarkOakLog,
        38 => Material::StrippedOakLog,
        39 => Material::StrippedSpruceLog,
        40 => Material::StrippedBirchLog,
        41 => Material::StrippedJungleLog,
        42 => Material::StrippedAcaciaLog,
        43 => Material::StrippedDarkOakLog,
        44 => Material::StrippedOakWood,
        45 => Material::StrippedSpruceWood,
        46 => Material::StrippedBirchWood,
        47 => Material::StrippedJungleWood,
        48 => Material::StrippedAcaciaWood,
        49 => Material::StrippedDarkOakWood,
        50 => Material::OakWood,
        51 => Material::SpruceWood,
        52 => Material::BirchWood,
        53 => Material::JungleWood,
        54 => Material::AcaciaWood,
        55 => Material::DarkOakWood,
        56 => Material::OakLeaves,
        57 => Material::SpruceLeaves,
        58 => Material::BirchLeaves,
        59 => Material::JungleLeaves,
        60 => Material::AcaciaLeaves,
        61 => Material::DarkOakLeaves,
        62 => Material::Sponge,
        63 => Material::WetSponge,
        64 => Material::Glass,
        65 => Material::LapisOre,
        66 => Material::LapisBlock,
        67 => Material::Dispenser,
        68 => Material::Sandstone,
        69 => Material::ChiseledSandstone,
        70 => Material::CutSandstone,
        71 => Material::NoteBlock,
        72 => Material::PoweredRail,
        73 => Material::DetectorRail,
        74 => Material::StickyPiston,
        75 => Material::Cobweb,
        76 => Material::Grass,
        77 => Material::Fern,
        78 => Material::DeadBush,
        79 => Material::Seagrass,
        80 => Material::SeaPickle,
        81 => Material::Piston,
        82 => Material::WhiteWool,
        83 => Material::OrangeWool,
        84 => Material::MagentaWool,
        85 => Material::LightBlueWool,
        86 => Material::YellowWool,
        87 => Material::LimeWool,
        88 => Material::PinkWool,
        89 => Material::GrayWool,
        90 => Material::LightGrayWool,
        91 => Material::CyanWool,
        92 => Material::PurpleWool,
        93 => Material::BlueWool,
        94 => Material::BrownWool,
        95 => Material::GreenWool,
        96 => Material::RedWool,
        97 => Material::BlackWool,
        98 => Material::Dandelion,
        99 => Material::Poppy,
        100 => Material::BlueOrchid,
        101 => Material::Allium,
        102 => Material::AzureBluet,
        103 => Material::RedTulip,
        104 => Material::OrangeTulip,
        105 => Material::WhiteTulip,
        106 => Material::PinkTulip,
        107 => Material::OxeyeDaisy,
        108 => Material::Cornflower,
        109 => Material::LilyOfTheValley,
        110 => Material::WitherRose,
        111 => Material::BrownMushroom,
        112 => Material::RedMushroom,
        113 => Material::GoldBlock,
        114 => Material::IronBlock,
        115 => Material::OakSlab,
        116 => Material::SpruceSlab,
        117 => Material::BirchSlab,
        118 => Material::JungleSlab,
        119 => Material::AcaciaSlab,
        120 => Material::DarkOakSlab,
        121 => Material::StoneSlab,
        122 => Material::SmoothStoneSlab,
        123 => Material::SandstoneSlab,
        124 => Material::CutSandstoneSlab,
        125 => Material::PetrifiedOakSlab,
        126 => Material::CobblestoneSlab,
        127 => Material::BrickSlab,
        128 => Material::StoneBrickSlab,
        129 => Material::NetherBrickSlab,
        130 => Material::QuartzSlab,
        131 => Material::RedSandstoneSlab,
        132 => Material::CutRedSandstoneSlab,
        133 => Material::PurpurSlab,
        134 => Material::PrismarineSlab,
        135 => Material::PrismarineBrickSlab,
        136 => Material::DarkPrismarineSlab,
        137 => Material::SmoothQuartz,
        138 => Material::SmoothRedSandstone,
        139 => Material::SmoothSandstone,
        140 => Material::SmoothStone,
        141 => Material::Bricks,
        142 => Material::Tnt,
        143 => Material::Bookshelf,
        144 => Material::MossyCobblestone,
        145 => Material::Obsidian,
        146 => Material::Torch,
        147 => Material::EndRod,
        148 => Material::ChorusPlant,
        149 => Material::ChorusFlower,
        150 => Material::PurpurBlock,
        151 => Material::PurpurPillar,
        152 => Material::PurpurStairs,
        153 => Material::Spawner,
        154 => Material::OakStairs,
        155 => Material::Chest,
        156 => Material::DiamondOre,
        157 => Material::DiamondBlock,
        158 => Material::CraftingTable,
        159 => Material::Farmland,
        160 => Material::Furnace,
        161 => Material::Ladder,
        162 => Material::Rail,
        163 => Material::CobblestoneStairs,
        164 => Material::Lever,
        165 => Material::StonePressurePlate,
        166 => Material::OakPressurePlate,
        167 => Material::SprucePressurePlate,
        168 => Material::BirchPressurePlate,
        169 => Material::JunglePressurePlate,
        170 => Material::AcaciaPressurePlate,
        171 => Material::DarkOakPressurePlate,
        172 => Material::RedstoneOre,
        173 => Material::RedstoneTorch,
        174 => Material::StoneButton,
        175 => Material::Snow,
        176 => Material::Ice,
        177 => Material::SnowBlock,
        178 => Material::Cactus,
        179 => Material::Clay,
        180 => Material::Jukebox,
        181 => Material::OakFence,
        182 => Material::SpruceFence,
        183 => Material::BirchFence,
        184 => Material::JungleFence,
        185 => Material::AcaciaFence,
        186 => Material::DarkOakFence,
        187 => Material::Pumpkin,
        188 => Material::CarvedPumpkin,
        189 => Material::Netherrack,
        190 => Material::SoulSand,
        191 => Material::Glowstone,
        192 => Material::JackOLantern,
        193 => Material::OakTrapdoor,
        194 => Material::SpruceTrapdoor,
        195 => Material::BirchTrapdoor,
        196 => Material::JungleTrapdoor,
        197 => Material::AcaciaTrapdoor,
        198 => Material::DarkOakTrapdoor,
        199 => Material::InfestedStone,
        200 => Material::InfestedCobblestone,
        201 => Material::InfestedStoneBricks,
        202 => Material::InfestedMossyStoneBricks,
        203 => Material::InfestedCrackedStoneBricks,
        204 => Material::InfestedChiseledStoneBricks,
        205 => Material::StoneBricks,
        206 => Material::MossyStoneBricks,
        207 => Material::CrackedStoneBricks,
        208 => Material::ChiseledStoneBricks,
        209 => Material::BrownMushroomBlock,
        210 => Material::RedMushroomBlock,
        211 => Material::MushroomStem,
        212 => Material::IronBars,
        213 => Material::GlassPane,
        214 => Material::Melon,
        215 => Material::Vine,
        216 => Material::OakFenceGate,
        217 => Material::SpruceFenceGate,
        218 => Material::BirchFenceGate,
        219 => Material::JungleFenceGate,
        220 => Material::AcaciaFenceGate,
        221 => Material::DarkOakFenceGate,
        222 => Material::BrickStairs,
        223 => Material::StoneBrickStairs,
        224 => Material::Mycelium,
        225 => Material::LilyPad,
        226 => Material::NetherBricks,
        227 => Material::NetherBrickFence,
        228 => Material::NetherBrickStairs,
        229 => Material::EnchantingTable,
        230 => Material::EndPortalFrame,
        231 => Material::EndStone,
        232 => Material::EndStoneBricks,
        233 => Material::DragonEgg,
        234 => Material::RedstoneLamp,
        235 => Material::SandstoneStairs,
        236 => Material::EmeraldOre,
        237 => Material::EnderChest,
        238 => Material::TripwireHook,
        239 => Material::EmeraldBlock,
        240 => Material::SpruceStairs,
        241 => Material::BirchStairs,
        242 => Material::JungleStairs,
        243 => Material::CommandBlock,
        244 => Material::Beacon,
        245 => Material::CobblestoneWall,
        246 => Material::MossyCobblestoneWall,
        247 => Material::BrickWall,
        248 => Material::PrismarineWall,
        249 => Material::RedSandstoneWall,
        250 => Material::MossyStoneBrickWall,
        251 => Material::GraniteWall,
        252 => Material::StoneBrickWall,
        253 => Material::NetherBrickWall,
        254 => Material::AndesiteWall,
        255 => Material::RedNetherBrickWall,
        256 => Material::SandstoneWall,
        257 => Material::EndStoneBrickWall,
        258 => Material::DioriteWall,
        259 => Material::OakButton,
        260 => Material::SpruceButton,
        261 => Material::BirchButton,
        262 => Material::JungleButton,
        263 => Material::AcaciaButton,
        264 => Material::DarkOakButton,
        265 => Material::Anvil,
        266 => Material::ChippedAnvil,
        267 => Material::DamagedAnvil,
        268 => Material::TrappedChest,
        269 => Material::LightWeightedPressurePlate,
        270 => Material::HeavyWeightedPressurePlate,
        271 => Material::DaylightDetector,
        272 => Material::RedstoneBlock,
        273 => Material::NetherQuartzOre,
        274 => Material::Hopper,
        275 => Material::ChiseledQuartzBlock,
        276 => Material::QuartzBlock,
        277 => Material::QuartzPillar,
        278 => Material::QuartzStairs,
        279 => Material::ActivatorRail,
        280 => Material::Dropper,
        281 => Material::WhiteTerracotta,
        282 => Material::OrangeTerracotta,
        283 => Material::MagentaTerracotta,
        284 => Material::LightBlueTerracotta,
        285 => Material::YellowTerracotta,
        286 => Material::LimeTerracotta,
        287 => Material::PinkTerracotta,
        288 => Material::GrayTerracotta,
        289 => Material::LightGrayTerracotta,
        290 => Material::CyanTerracotta,
        291 => Material::PurpleTerracotta,
        292 => Material::BlueTerracotta,
        293 => Material::BrownTerracotta,
        294 => Material::GreenTerracotta,
        295 => Material::RedTerracotta,
        296 => Material::BlackTerracotta,
        297 => Material::Barrier,
        298 => Material::IronTrapdoor,
        299 => Material::HayBlock,
        300 => Material::WhiteCarpet,
        301 => Material::OrangeCarpet,
        302 => Material::MagentaCarpet,
        303 => Material::LightBlueCarpet,
        304 => Material::YellowCarpet,
        305 => Material::LimeCarpet,
        306 => Material::PinkCarpet,
        307 => Material::GrayCarpet,
        308 => Material::LightGrayCarpet,
        309 => Material::CyanCarpet,
        310 => Material::PurpleCarpet,
        311 => Material::BlueCarpet,
        312 => Material::BrownCarpet,
        313 => Material::GreenCarpet,
        314 => Material::RedCarpet,
        315 => Material::BlackCarpet,
        316 => Material::Terracotta,
        317 => Material::CoalBlock,
        318 => Material::PackedIce,
        319 => Material::AcaciaStairs,
        320 => Material::DarkOakStairs,
        321 => Material::SlimeBlock,
        322 => Material::GrassPath,
        323 => Material::Sunflower,
        324 => Material::Lilac,
        325 => Material::RoseBush,
        326 => Material::Peony,
        327 => Material::TallGrass,
        328 => Material::LargeFern,
        329 => Material::WhiteStainedGlass,
        330 => Material::OrangeStainedGlass,
        331 => Material::MagentaStainedGlass,
        332 => Material::LightBlueStainedGlass,
        333 => Material::YellowStainedGlass,
        334 => Material::LimeStainedGlass,
        335 => Material::PinkStainedGlass,
        336 => Material::GrayStainedGlass,
        337 => Material::LightGrayStainedGlass,
        338 => Material::CyanStainedGlass,
        339 => Material::PurpleStainedGlass,
        340 => Material::BlueStainedGlass,
        341 => Material::BrownStainedGlass,
        342 => Material::GreenStainedGlass,
        343 => Material::RedStainedGlass,
        344 => Material::BlackStainedGlass,
        345 => Material::WhiteStainedGlassPane,
        346 => Material::OrangeStainedGlassPane,
        347 => Material::MagentaStainedGlassPane,
        348 => Material::LightBlueStainedGlassPane,
        349 => Material::YellowStainedGlassPane,
        350 => Material::LimeStainedGlassPane,
        351 => Material::PinkStainedGlassPane,
        352 => Material::GrayStainedGlassPane,
        353 => Material::LightGrayStainedGlassPane,
        354 => Material::CyanStainedGlassPane,
        355 => Material::PurpleStainedGlassPane,
        356 => Material::BlueStainedGlassPane,
        357 => Material::BrownStainedGlassPane,
        358 => Material::GreenStainedGlassPane,
        359 => Material::RedStainedGlassPane,
        360 => Material::BlackStainedGlassPane,
        361 => Material::Prismarine,
        362 => Material::PrismarineBricks,
        363 => Material::DarkPrismarine,
        364 => Material::PrismarineStairs,
        365 => Material::PrismarineBrickStairs,
        366 => Material::DarkPrismarineStairs,
        367 => Material::SeaLantern,
        368 => Material::RedSandstone,
        369 => Material::ChiseledRedSandstone,
        370 => Material::CutRedSandstone,
        371 => Material::RedSandstoneStairs,
        372 => Material::RepeatingCommandBlock,
        373 => Material::ChainCommandBlock,
        374 => Material::MagmaBlock,
        375 => Material::NetherWartBlock,
        376 => Material::RedNetherBricks,
        377 => Material::BoneBlock,
        378 => Material::StructureVoid,
        379 => Material::Observer,
        380 => Material::ShulkerBox,
        381 => Material::WhiteShulkerBox,
        382 => Material::OrangeShulkerBox,
        383 => Material::MagentaShulkerBox,
        384 => Material::LightBlueShulkerBox,
        385 => Material::YellowShulkerBox,
        386 => Material::LimeShulkerBox,
        387 => Material::PinkShulkerBox,
        388 => Material::GrayShulkerBox,
        389 => Material::LightGrayShulkerBox,
        390 => Material::CyanShulkerBox,
        391 => Material::PurpleShulkerBox,
        392 => Material::BlueShulkerBox,
        393 => Material::BrownShulkerBox,
        394 => Material::GreenShulkerBox,
        395 => Material::RedShulkerBox,
        396 => Material::BlackShulkerBox,
        397 => Material::WhiteGlazedTerracotta,
        398 => Material::OrangeGlazedTerracotta,
        399 => Material::MagentaGlazedTerracotta,
        400 => Material::LightBlueGlazedTerracotta,
        401 => Material::YellowGlazedTerracotta,
        402 => Material::LimeGlazedTerracotta,
        403 => Material::PinkGlazedTerracotta,
        404 => Material::GrayGlazedTerracotta,
        405 => Material::LightGrayGlazedTerracotta,
        406 => Material::CyanGlazedTerracotta,
        407 => Material::PurpleGlazedTerracotta,
        408 => Material::BlueGlazedTerracotta,
        409 => Material::BrownGlazedTerracotta,
        410 => Material::GreenGlazedTerracotta,
        411 => Material::RedGlazedTerracotta,
        412 => Material::BlackGlazedTerracotta,
        413 => Material::WhiteConcrete,
        414 => Material::OrangeConcrete,
        415 => Material::MagentaConcrete,
        416 => Material::LightBlueConcrete,
        417 => Material::YellowConcrete,
        418 => Material::LimeConcrete,
        419 => Material::PinkConcrete,
        420 => Material::GrayConcrete,
        421 => Material::LightGrayConcrete,
        422 => Material::CyanConcrete,
        423 => Material::PurpleConcrete,
        424 => Material::BlueConcrete,
        425 => Material::BrownConcrete,
        426 => Material::GreenConcrete,
        427 => Material::RedConcrete,
        428 => Material::BlackConcrete,
        429 => Material::WhiteConcretePowder,
        430 => Material::OrangeConcretePowder,
        431 => Material::MagentaConcretePowder,
        432 => Material::LightBlueConcretePowder,
        433 => Material::YellowConcretePowder,
        434 => Material::LimeConcretePowder,
        435 => Material::PinkConcretePowder,
        436 => Material::GrayConcretePowder,
        437 => Material::LightGrayConcretePowder,
        438 => Material::CyanConcretePowder,
        439 => Material::PurpleConcretePowder,
        440 => Material::BlueConcretePowder,
        441 => Material::BrownConcretePowder,
        442 => Material::GreenConcretePowder,
        443 => Material::RedConcretePowder,
        444 => Material::BlackConcretePowder,
        445 => Material::TurtleEgg,
        446 => Material::DeadTubeCoralBlock,
        447 => Material::DeadBrainCoralBlock,
        448 => Material::DeadBubbleCoralBlock,
        449 => Material::DeadFireCoralBlock,
        450 => Material::DeadHornCoralBlock,
        451 => Material::TubeCoralBlock,
        452 => Material::BrainCoralBlock,
        453 => Material::BubbleCoralBlock,
        454 => Material::FireCoralBlock,
        455 => Material::HornCoralBlock,
        456 => Material::TubeCoral,
        457 => Material::BrainCoral,
        458 => Material::BubbleCoral,
        459 => Material::FireCoral,
        460 => Material::HornCoral,
        461 => Material::DeadBrainCoral,
        462 => Material::DeadBubbleCoral,
        463 => Material::DeadFireCoral,
        464 => Material::DeadHornCoral,
        465 => Material::DeadTubeCoral,
        466 => Material::TubeCoralFan,
        467 => Material::BrainCoralFan,
        468 => Material::BubbleCoralFan,
        469 => Material::FireCoralFan,
        470 => Material::HornCoralFan,
        471 => Material::DeadTubeCoralFan,
        472 => Material::DeadBrainCoralFan,
        473 => Material::DeadBubbleCoralFan,
        474 => Material::DeadFireCoralFan,
        475 => Material::DeadHornCoralFan,
        476 => Material::BlueIce,
        477 => Material::Conduit,
        478 => Material::PolishedGraniteStairs,
        479 => Material::SmoothRedSandstoneStairs,
        480 => Material::MossyStoneBrickStairs,
        481 => Material::PolishedDioriteStairs,
        482 => Material::MossyCobblestoneStairs,
        483 => Material::EndStoneBrickStairs,
        484 => Material::StoneStairs,
        485 => Material::SmoothSandstoneStairs,
        486 => Material::SmoothQuartzStairs,
        487 => Material::GraniteStairs,
        488 => Material::AndesiteStairs,
        489 => Material::RedNetherBrickStairs,
        490 => Material::PolishedAndesiteStairs,
        491 => Material::DioriteStairs,
        492 => Material::PolishedGraniteSlab,
        493 => Material::SmoothRedSandstoneSlab,
        494 => Material::MossyStoneBrickSlab,
        495 => Material::PolishedDioriteSlab,
        496 => Material::MossyCobblestoneSlab,
        497 => Material::EndStoneBrickSlab,
        498 => Material::SmoothSandstoneSlab,
        499 => Material::SmoothQuartzSlab,
        500 => Material::GraniteSlab,
        501 => Material::AndesiteSlab,
        502 => Material::RedNetherBrickSlab,
        503 => Material::PolishedAndesiteSlab,
        504 => Material::DioriteSlab,
        505 => Material::Scaffolding,
        506 => Material::IronDoor,
        507 => Material::OakDoor,
        508 => Material::SpruceDoor,
        509 => Material::BirchDoor,
        510 => Material::JungleDoor,
        511 => Material::AcaciaDoor,
        512 => Material::DarkOakDoor,
        513 => Material::Repeater,
        514 => Material::Comparator,
        515 => Material::StructureBlock,
        516 => Material::Jigsaw,
        517 => Material::Composter,
        518 => Material::TurtleHelmet,
        519 => Material::Scute,
        520 => Material::IronShovel,
        521 => Material::IronPickaxe,
        522 => Material::IronAxe,
        523 => Material::FlintAndSteel,
        524 => Material::Apple,
        525 => Material::Bow,
        526 => Material::Arrow,
        527 => Material::Coal,
        528 => Material::Charcoal,
        529 => Material::Diamond,
        530 => Material::IronIngot,
        531 => Material::GoldIngot,
        532 => Material::IronSword,
        533 => Material::WoodenSword,
        534 => Material::WoodenShovel,
        535 => Material::WoodenPickaxe,
        536 => Material::WoodenAxe,
        537 => Material::StoneSword,
        538 => Material::StoneShovel,
        539 => Material::StonePickaxe,
        540 => Material::StoneAxe,
        541 => Material::DiamondSword,
        542 => Material::DiamondShovel,
        543 => Material::DiamondPickaxe,
        544 => Material::DiamondAxe,
        545 => Material::Stick,
        546 => Material::Bowl,
        547 => Material::MushroomStew,
        548 => Material::GoldenSword,
        549 => Material::GoldenShovel,
        550 => Material::GoldenPickaxe,
        551 => Material::GoldenAxe,
        552 => Material::String,
        553 => Material::Feather,
        554 => Material::Gunpowder,
        555 => Material::WoodenHoe,
        556 => Material::StoneHoe,
        557 => Material::IronHoe,
        558 => Material::DiamondHoe,
        559 => Material::GoldenHoe,
        560 => Material::WheatSeeds,
        561 => Material::Wheat,
        562 => Material::Bread,
        563 => Material::LeatherHelmet,
        564 => Material::LeatherChestplate,
        565 => Material::LeatherLeggings,
        566 => Material::LeatherBoots,
        567 => Material::ChainmailHelmet,
        568 => Material::ChainmailChestplate,
        569 => Material::ChainmailLeggings,
        570 => Material::ChainmailBoots,
        571 => Material::IronHelmet,
        572 => Material::IronChestplate,
        573 => Material::IronLeggings,
        574 => Material::IronBoots,
        575 => Material::DiamondHelmet,
        576 => Material::DiamondChestplate,
        577 => Material::DiamondLeggings,
        578 => Material::DiamondBoots,
        579 => Material::GoldenHelmet,
        580 => Material::GoldenChestplate,
        581 => Material::GoldenLeggings,
        582 => Material::GoldenBoots,
        583 => Material::Flint,
        584 => Material::Porkchop,
        585 => Material::CookedPorkchop,
        586 => Material::Painting,
        587 => Material::GoldenApple,
        588 => Material::EnchantedGoldenApple,
        589 => Material::OakSign,
        590 => Material::SpruceSign,
        591 => Material::BirchSign,
        592 => Material::JungleSign,
        593 => Material::AcaciaSign,
        594 => Material::DarkOakSign,
        595 => Material::Bucket,
        596 => Material::WaterBucket,
        597 => Material::LavaBucket,
        598 => Material::Minecart,
        599 => Material::Saddle,
        600 => Material::Redstone,
        601 => Material::Snowball,
        602 => Material::OakBoat,
        603 => Material::Leather,
        604 => Material::MilkBucket,
        605 => Material::PufferfishBucket,
        606 => Material::SalmonBucket,
        607 => Material::CodBucket,
        608 => Material::TropicalFishBucket,
        609 => Material::Brick,
        610 => Material::ClayBall,
        611 => Material::SugarCane,
        612 => Material::Kelp,
        613 => Material::DriedKelpBlock,
        614 => Material::Bamboo,
        615 => Material::Paper,
        616 => Material::Book,
        617 => Material::SlimeBall,
        618 => Material::ChestMinecart,
        619 => Material::FurnaceMinecart,
        620 => Material::Egg,
        621 => Material::Compass,
        622 => Material::FishingRod,
        623 => Material::Clock,
        624 => Material::GlowstoneDust,
        625 => Material::Cod,
        626 => Material::Salmon,
        627 => Material::TropicalFish,
        628 => Material::Pufferfish,
        629 => Material::CookedCod,
        630 => Material::CookedSalmon,
        631 => Material::InkSac,
        632 => Material::RedDye,
        633 => Material::GreenDye,
        634 => Material::CocoaBeans,
        635 => Material::LapisLazuli,
        636 => Material::PurpleDye,
        637 => Material::CyanDye,
        638 => Material::LightGrayDye,
        639 => Material::GrayDye,
        640 => Material::PinkDye,
        641 => Material::LimeDye,
        642 => Material::YellowDye,
        643 => Material::LightBlueDye,
        644 => Material::MagentaDye,
        645 => Material::OrangeDye,
        646 => Material::BoneMeal,
        647 => Material::BlueDye,
        648 => Material::BrownDye,
        649 => Material::BlackDye,
        650 => Material::WhiteDye,
        651 => Material::Bone,
        652 => Material::Sugar,
        653 => Material::Cake,
        654 => Material::WhiteBed,
        655 => Material::OrangeBed,
        656 => Material::MagentaBed,
        657 => Material::LightBlueBed,
        658 => Material::YellowBed,
        659 => Material::LimeBed,
        660 => Material::PinkBed,
        661 => Material::GrayBed,
        662 => Material::LightGrayBed,
        663 => Material::CyanBed,
        664 => Material::PurpleBed,
        665 => Material::BlueBed,
        666 => Material::BrownBed,
        667 => Material::GreenBed,
        668 => Material::RedBed,
        669 => Material::BlackBed,
        670 => Material::Cookie,
        671 => Material::FilledMap,
        672 => Material::Shears,
        673 => Material::MelonSlice,
        674 => Material::DriedKelp,
        675 => Material::PumpkinSeeds,
        676 => Material::MelonSeeds,
        677 => Material::Beef,
        678 => Material::CookedBeef,
        679 => Material::Chicken,
        680 => Material::CookedChicken,
        681 => Material::RottenFlesh,
        682 => Material::EnderPearl,
        683 => Material::BlazeRod,
        684 => Material::GhastTear,
        685 => Material::GoldNugget,
        686 => Material::NetherWart,
        687 => Material::Potion,
        688 => Material::GlassBottle,
        689 => Material::SpiderEye,
        690 => Material::FermentedSpiderEye,
        691 => Material::BlazePowder,
        692 => Material::MagmaCream,
        693 => Material::BrewingStand,
        694 => Material::Cauldron,
        695 => Material::EnderEye,
        696 => Material::GlisteringMelonSlice,
        697 => Material::BatSpawnEgg,
        698 => Material::BlazeSpawnEgg,
        699 => Material::CatSpawnEgg,
        700 => Material::CaveSpiderSpawnEgg,
        701 => Material::ChickenSpawnEgg,
        702 => Material::CodSpawnEgg,
        703 => Material::CowSpawnEgg,
        704 => Material::CreeperSpawnEgg,
        705 => Material::DolphinSpawnEgg,
        706 => Material::DonkeySpawnEgg,
        707 => Material::DrownedSpawnEgg,
        708 => Material::ElderGuardianSpawnEgg,
        709 => Material::EndermanSpawnEgg,
        710 => Material::EndermiteSpawnEgg,
        711 => Material::EvokerSpawnEgg,
        712 => Material::FoxSpawnEgg,
        713 => Material::GhastSpawnEgg,
        714 => Material::GuardianSpawnEgg,
        715 => Material::HorseSpawnEgg,
        716 => Material::HuskSpawnEgg,
        717 => Material::LlamaSpawnEgg,
        718 => Material::MagmaCubeSpawnEgg,
        719 => Material::MooshroomSpawnEgg,
        720 => Material::MuleSpawnEgg,
        721 => Material::OcelotSpawnEgg,
        722 => Material::PandaSpawnEgg,
        723 => Material::ParrotSpawnEgg,
        724 => Material::PhantomSpawnEgg,
        725 => Material::PigSpawnEgg,
        726 => Material::PillagerSpawnEgg,
        727 => Material::PolarBearSpawnEgg,
        728 => Material::PufferfishSpawnEgg,
        729 => Material::RabbitSpawnEgg,
        730 => Material::RavagerSpawnEgg,
        731 => Material::SalmonSpawnEgg,
        732 => Material::SheepSpawnEgg,
        733 => Material::ShulkerSpawnEgg,
        734 => Material::SilverfishSpawnEgg,
        735 => Material::SkeletonSpawnEgg,
        736 => Material::SkeletonHorseSpawnEgg,
        737 => Material::SlimeSpawnEgg,
        738 => Material::SpiderSpawnEgg,
        739 => Material::SquidSpawnEgg,
        740 => Material::StraySpawnEgg,
        741 => Material::TraderLlamaSpawnEgg,
        742 => Material::TropicalFishSpawnEgg,
        743 => Material::TurtleSpawnEgg,
        744 => Material::VexSpawnEgg,
        745 => Material::VillagerSpawnEgg,
        746 => Material::VindicatorSpawnEgg,
        747 => Material::WanderingTraderSpawnEgg,
        748 => Material::WitchSpawnEgg,
        749 => Material::WitherSkeletonSpawnEgg,
        750 => Material::WolfSpawnEgg,
        751 => Material::ZombieSpawnEgg,
        752 => Material::ZombieHorseSpawnEgg,
        753 => Material::ZombiePigmanSpawnEgg,
        754 => Material::ZombieVillagerSpawnEgg,
        755 => Material::ExperienceBottle,
        756 => Material::FireCharge,
        757 => Material::WritableBook,
        758 => Material::WrittenBook,
        759 => Material::Emerald,
        760 => Material::ItemFrame,
        761 => Material::FlowerPot,
        762 => Material::Carrot,
        763 => Material::Potato,
        764 => Material::BakedPotato,
        765 => Material::PoisonousPotato,
        766 => Material::Map,
        767 => Material::GoldenCarrot,
        768 => Material::SkeletonSkull,
        769 => Material::WitherSkeletonSkull,
        770 => Material::PlayerHead,
        771 => Material::ZombieHead,
        772 => Material::CreeperHead,
        773 => Material::DragonHead,
        774 => Material::CarrotOnAStick,
        775 => Material::NetherStar,
        776 => Material::PumpkinPie,
        777 => Material::FireworkRocket,
        778 => Material::FireworkStar,
        779 => Material::EnchantedBook,
        780 => Material::NetherBrick,
        781 => Material::Quartz,
        782 => Material::TntMinecart,
        783 => Material::HopperMinecart,
        784 => Material::PrismarineShard,
        785 => Material::PrismarineCrystals,
        786 => Material::Rabbit,
        787 => Material::CookedRabbit,
        788 => Material::RabbitStew,
        789 => Material::RabbitFoot,
        790 => Material::RabbitHide,
        791 => Material::ArmorStand,
        792 => Material::IronHorseArmor,
        793 => Material::GoldenHorseArmor,
        794 => Material::DiamondHorseArmor,
        795 => Material::LeatherHorseArmor,
        796 => Material::Lead,
        797 => Material::NameTag,
        798 => Material::CommandBlockMinecart,
        799 => Material::Mutton,
        800 => Material::CookedMutton,
        801 => Material::WhiteBanner,
        802 => Material::OrangeBanner,
        803 => Material::MagentaBanner,
        804 => Material::LightBlueBanner,
        805 => Material::YellowBanner,
        806 => Material::LimeBanner,
        807 => Material::PinkBanner,
        808 => Material::GrayBanner,
        809 => Material::LightGrayBanner,
        810 => Material::CyanBanner,
        811 => Material::PurpleBanner,
        812 => Material::BlueBanner,
        813 => Material::BrownBanner,
        814 => Material::GreenBanner,
        815 => Material::RedBanner,
        816 => Material::BlackBanner,
        817 => Material::EndCrystal,
        818 => Material::ChorusFruit,
        819 => Material::PoppedChorusFruit,
        820 => Material::Beetroot,
        821 => Material::BeetrootSeeds,
        822 => Material::BeetrootSoup,
        823 => Material::DragonBreath,
        824 => Material::SplashPotion,
        825 => Material::SpectralArrow,
        826 => Material::TippedArrow,
        827 => Material::LingeringPotion,
        828 => Material::Shield,
        829 => Material::Elytra,
        830 => Material::SpruceBoat,
        831 => Material::BirchBoat,
        832 => Material::JungleBoat,
        833 => Material::AcaciaBoat,
        834 => Material::DarkOakBoat,
        835 => Material::TotemOfUndying,
        836 => Material::ShulkerShell,
        837 => Material::IronNugget,
        838 => Material::KnowledgeBook,
        839 => Material::DebugStick,
        840 => Material::MusicDisc13,
        841 => Material::MusicDiscCat,
        842 => Material::MusicDiscBlocks,
        843 => Material::MusicDiscChirp,
        844 => Material::MusicDiscFar,
        845 => Material::MusicDiscMall,
        846 => Material::MusicDiscMellohi,
        847 => Material::MusicDiscStal,
        848 => Material::MusicDiscStrad,
        849 => Material::MusicDiscWard,
        850 => Material::MusicDisc11,
        851 => Material::MusicDiscWait,
        852 => Material::Trident,
        853 => Material::PhantomMembrane,
        854 => Material::NautilusShell,
        855 => Material::HeartOfTheSea,
        856 => Material::Crossbow,
        857 => Material::SuspiciousStew,
        858 => Material::Loom,
        859 => Material::FlowerBannerPattern,
        860 => Material::CreeperBannerPattern,
        861 => Material::SkullBannerPattern,
        862 => Material::MojangBannerPattern,
        863 => Material::GlobeBannerPattern,
        864 => Material::Barrel,
        865 => Material::Smoker,
        866 => Material::BlastFurnace,
        867 => Material::CartographyTable,
        868 => Material::FletchingTable,
        869 => Material::Grindstone,
        870 => Material::Lectern,
        871 => Material::SmithingTable,
        872 => Material::Stonecutter,
        873 => Material::Bell,
        874 => Material::Lantern,
        875 => Material::SweetBerries,
        876 => Material::Campfire,
        _ => Material::Air,
    }
}

pub fn get_stack_size(mat: Material) -> u8 {
    match mat {
        Material::ShulkerBox => 1,
        Material::WhiteShulkerBox => 1,
        Material::OrangeShulkerBox => 1,
        Material::MagentaShulkerBox => 1,
        Material::LightBlueShulkerBox => 1,
        Material::YellowShulkerBox => 1,
        Material::LimeShulkerBox => 1,
        Material::PinkShulkerBox => 1,
        Material::GrayShulkerBox => 1,
        Material::LightGrayShulkerBox => 1,
        Material::CyanShulkerBox => 1,
        Material::PurpleShulkerBox => 1,
        Material::BlueShulkerBox => 1,
        Material::BrownShulkerBox => 1,
        Material::GreenShulkerBox => 1,
        Material::RedShulkerBox => 1,
        Material::BlackShulkerBox => 1,
        Material::TurtleHelmet => 1,
        Material::IronShovel => 1,
        Material::IronPickaxe => 1,
        Material::IronAxe => 1,
        Material::FlintAndSteel => 1,
        Material::Bow => 1,
        Material::IronSword => 1,
        Material::WoodenSword => 1,
        Material::WoodenShovel => 1,
        Material::WoodenPickaxe => 1,
        Material::WoodenAxe => 1,
        Material::StoneSword => 1,
        Material::StoneShovel => 1,
        Material::StonePickaxe => 1,
        Material::StoneAxe => 1,
        Material::DiamondSword => 1,
        Material::DiamondShovel => 1,
        Material::DiamondPickaxe => 1,
        Material::DiamondAxe => 1,
        Material::MushroomStew => 1,
        Material::GoldenSword => 1,
        Material::GoldenShovel => 1,
        Material::GoldenPickaxe => 1,
        Material::GoldenAxe => 1,
        Material::WoodenHoe => 1,
        Material::StoneHoe => 1,
        Material::IronHoe => 1,
        Material::DiamondHoe => 1,
        Material::GoldenHoe => 1,
        Material::LeatherHelmet => 1,
        Material::LeatherChestplate => 1,
        Material::LeatherLeggings => 1,
        Material::LeatherBoots => 1,
        Material::ChainmailHelmet => 1,
        Material::ChainmailChestplate => 1,
        Material::ChainmailLeggings => 1,
        Material::ChainmailBoots => 1,
        Material::IronHelmet => 1,
        Material::IronChestplate => 1,
        Material::IronLeggings => 1,
        Material::IronBoots => 1,
        Material::DiamondHelmet => 1,
        Material::DiamondChestplate => 1,
        Material::DiamondLeggings => 1,
        Material::DiamondBoots => 1,
        Material::GoldenHelmet => 1,
        Material::GoldenChestplate => 1,
        Material::GoldenLeggings => 1,
        Material::GoldenBoots => 1,
        Material::OakSign => 16,
        Material::SpruceSign => 16,
        Material::BirchSign => 16,
        Material::JungleSign => 16,
        Material::AcaciaSign => 16,
        Material::DarkOakSign => 16,
        Material::Bucket => 16,
        Material::WaterBucket => 1,
        Material::LavaBucket => 1,
        Material::Minecart => 1,
        Material::Saddle => 1,
        Material::Snowball => 16,
        Material::OakBoat => 1,
        Material::MilkBucket => 1,
        Material::PufferfishBucket => 1,
        Material::SalmonBucket => 1,
        Material::CodBucket => 1,
        Material::TropicalFishBucket => 1,
        Material::ChestMinecart => 1,
        Material::FurnaceMinecart => 1,
        Material::Egg => 16,
        Material::FishingRod => 1,
        Material::Cake => 1,
        Material::WhiteBed => 1,
        Material::OrangeBed => 1,
        Material::MagentaBed => 1,
        Material::LightBlueBed => 1,
        Material::YellowBed => 1,
        Material::LimeBed => 1,
        Material::PinkBed => 1,
        Material::GrayBed => 1,
        Material::LightGrayBed => 1,
        Material::CyanBed => 1,
        Material::PurpleBed => 1,
        Material::BlueBed => 1,
        Material::BrownBed => 1,
        Material::GreenBed => 1,
        Material::RedBed => 1,
        Material::BlackBed => 1,
        Material::Shears => 1,
        Material::EnderPearl => 16,
        Material::Potion => 1,
        Material::WritableBook => 1,
        Material::WrittenBook => 16,
        Material::CarrotOnAStick => 1,
        Material::EnchantedBook => 1,
        Material::TntMinecart => 1,
        Material::HopperMinecart => 1,
        Material::RabbitStew => 1,
        Material::ArmorStand => 16,
        Material::IronHorseArmor => 1,
        Material::GoldenHorseArmor => 1,
        Material::DiamondHorseArmor => 1,
        Material::LeatherHorseArmor => 1,
        Material::CommandBlockMinecart => 1,
        Material::WhiteBanner => 16,
        Material::OrangeBanner => 16,
        Material::MagentaBanner => 16,
        Material::LightBlueBanner => 16,
        Material::YellowBanner => 16,
        Material::LimeBanner => 16,
        Material::PinkBanner => 16,
        Material::GrayBanner => 16,
        Material::LightGrayBanner => 16,
        Material::CyanBanner => 16,
        Material::PurpleBanner => 16,
        Material::BlueBanner => 16,
        Material::BrownBanner => 16,
        Material::GreenBanner => 16,
        Material::RedBanner => 16,
        Material::BlackBanner => 16,
        Material::BeetrootSoup => 1,
        Material::SplashPotion => 1,
        Material::LingeringPotion => 1,
        Material::Shield => 1,
        Material::Elytra => 1,
        Material::SpruceBoat => 1,
        Material::BirchBoat => 1,
        Material::JungleBoat => 1,
        Material::AcaciaBoat => 1,
        Material::DarkOakBoat => 1,
        Material::TotemOfUndying => 1,
        Material::KnowledgeBook => 1,
        Material::DebugStick => 1,
        Material::MusicDisc13 => 1,
        Material::MusicDiscCat => 1,
        Material::MusicDiscBlocks => 1,
        Material::MusicDiscChirp => 1,
        Material::MusicDiscFar => 1,
        Material::MusicDiscMall => 1,
        Material::MusicDiscMellohi => 1,
        Material::MusicDiscStal => 1,
        Material::MusicDiscStrad => 1,
        Material::MusicDiscWard => 1,
        Material::MusicDisc11 => 1,
        Material::MusicDiscWait => 1,
        Material::Trident => 1,
        Material::Crossbow => 1,
        Material::SuspiciousStew => 1,
        Material::FlowerBannerPattern => 1,
        Material::CreeperBannerPattern => 1,
        Material::SkullBannerPattern => 1,
        Material::MojangBannerPattern => 1,
        Material::GlobeBannerPattern => 1,
        _ => 64,
    }
}
